//
//  OpenURLMessage.m
//  SulitLoan
//
//  Created by 虞嘉伟 on 2025/3/12.
//  
  

#import "OpenURLMessage.h"

@implementation OpenURLMessage

- (NSString *)name {
    return @"bearKiteB";
}
- (instancetype)initWithController:(UIViewController *)controller {
    if (self = [super init]) {
        self.controller = controller;
    }
    return self;
}
- (void)handleMessage:(WKScriptMessage *)message {
    if ([message.name isEqualToString:self.name]) {
        [SLRoutePush route:message.body parameter:nil];
    }
}

@end
